/**
 * @fileOverview
 * @author iNahoo
 * @since 2019/11/15.
 */

const {run} = require('../../instances');
const {sleep} = require('../../pcr-operation/utils');

run(async (p, s, m) => {

    // Home
    await m.click(s.getPoint(113, 382, 20, 20));
    await sleep(3e3);

    // Task
    await m.click(s.getPoint(708, 324, 10, 10));

    // ------------ 每日 ------------------

    // take all
    await sleep(3e3);
    await m.click(s.getPoint(721, 330, 30, 5));

    // close
    await sleep(2e3);
    await m.click(s.getPoint(397, 358, 30, 5));

});
